<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 skin-theme-clientpref-day vector-sticky-header-enabled" lang="de" dir="ltr"><head>
<meta charset="UTF-8">
<title>Apache Portable Runtime</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://de.wikipedia.org/wiki/Apache_Portable_Runtime"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link href="./_mw_/ext.gadget.citeRef.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.defaultPlainlinks.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiCommonHide.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiCommonLayout.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiCommonStyle.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiDarkmode.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.dewikiResponsive.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.gadget.specialSearch.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Apache_Portable_Runtime rootpage-Apache_Portable_Runtime skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Apache Portable Runtime</span></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="de" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="de" dir="ltr"><table class="float-right infobox toccolours toptextcells" style="border-spacing:5px; font-size:90%; text-align:left; width:21em;">
<tbody><tr>
<th colspan="2" class="hintergrundfarbe6" style="font-size:105%; text-align:center;">Apache Portable Runtime
</th></tr>
<tr>
<th colspan="2" class="hintergrundfarbe5" style="font-size:105%; text-align:center;">Basisdaten
<p class="mw-empty-elt">
</p>
</th></tr>
<tr>
<td><b><a href="Softwareentwickler" title="Softwareentwickler">Entwickler</a></b>
</td>
<td><a href="Apache_Software_Foundation" title="Apache Software Foundation">Apache Software Foundation</a>
</td></tr>
<tr>
<td><b>Aktuelle <a href="Version_(Software)" title="Version (Software)">Version</a></b>
</td>
<td><span class="wikidata-content">1.7.6<sup id="cite_ref-_8f976c7797bc192c_1-0" class="reference"><a href="#cite_note-_8f976c7797bc192c-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></span> <br> (<span class="wikidata-content">16. Mai 2025</span>)
</td></tr>
<tr>
<td><b><a href="Betriebssystem" title="Betriebssystem">Betriebssystem</a></b>
</td>
<td><a href="Plattformunabh%C3%A4ngigkeit" title="Plattformunabhängigkeit">plattformunabhängig</a>
</td></tr>
<tr>
<td><b><a href="Programmiersprache" title="Programmiersprache">Programmiersprache</a></b>
</td>
<td><span class="wikidata-content"><a href="C_(Programmiersprache)" title="C (Programmiersprache)">C</a><sup id="cite_ref-_8b528bac284b957c_2-0" class="reference"><a href="#cite_note-_8b528bac284b957c-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-_9b1994072c6da7b8_3-0" class="reference"><a href="#cite_note-_9b1994072c6da7b8-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup></span>
</td></tr>
<tr>
<td><b>Lizenz</b>
</td>
<td><a href="Apache-Lizenz" title="Apache-Lizenz">Apache-Lizenz</a> v2.0
</td></tr>
<tr>
<td><b><a href="Lokalisierung_(Softwareentwicklung)" title="Lokalisierung (Softwareentwicklung)">deutschsprachig</a></b>
</td>
<td>nein
</td></tr>
<tr>
<td class="hintergrundfarbe5" colspan="2" style="text-align:center;"><a rel="nofollow" class="external text" href="https://apr.apache.org/">apr.apache.org</a>
</td></tr></tbody></table>
<p><b>Apache Portable Runtime</b> (APR) ist eine <a href="Freie_Software" title="Freie Software">freie</a> <a href="Programmbibliothek" title="Programmbibliothek">Programmbibliothek</a> der <a href="Apache_Software_Foundation" title="Apache Software Foundation">Apache Software Foundation</a>. Es ist die Weiterentwicklung einzelner Verallgemeinerungsfunktionen aus einer älteren Version des <a href="Apache_HTTP_Server" title="Apache HTTP Server">Apache HTTP Servers</a>: Dieser <a href="Webserver" title="Webserver">Webserver</a> läuft unter verschiedenen <a href="Betriebssystem" title="Betriebssystem">Betriebssystemen</a> (unter anderem <a href="Linux" title="Linux">Linux</a> und andere <a href="Unix" title="Unix">Unix</a>-Varianten, <a href="Windows" class="mw-redirect" title="Windows">Windows</a> und <a href="NetWare" title="NetWare">NetWare</a>).
</p><p>Diese Systeme bieten für identische Aufgaben leicht unterschiedliche Schnittstellen. Zur Vereinheitlichung behalf man sich in früheren Versionen von Apache auf Nicht-Unix-Plattformen mit einer <a href="POSIX" title="POSIX">POSIX</a>-<a href="Emulation" class="mw-redirect" title="Emulation">Emulationsschicht</a>. Da dies auf Kosten von Stabilität und Geschwindigkeit geht, gingen die Entwickler bei der Apache-Version 2.0 einen neuen Weg: Die APR wird für jede Plattform separat aufgesetzt und stellt nach außen Funktionen mit identischem Verhalten zur Verfügung. Auf diese Weise verallgemeinert (abstrahiert) sie bestimmte Basisfunktionen, die der Webserver benötigt, ohne die individuellen Stärken der einzelnen Systeme auszubremsen.
</p><p>Die Apache Portable Runtime stellt unter anderem Funktionen aus folgenden Aufgabengebieten bereit:
</p>
<ul><li>Dateizugriffe</li>
<li>Netzwerk-Sockets</li>
<li>Speicherverwaltung</li>
<li>Datums- und Uhrzeitfunktionen</li>
<li>Text- und Zeichenkettenbehandlung</li>
<li>Angleichung von Datei- und Pfadnamen in ein dateisystemunabhängiges Format</li>
<li>Zufallsgenerator</li>
<li>Thread- und Prozessverwaltung</li>
<li>Laden dynamischer Bibliotheken</li></ul>
<p>Da die APR die Programmierung plattformunabhängiger Netzwerkanwendungen stark vereinfacht, machen inzwischen auch andere Projekte der <a href="Apache_Software_Foundation" title="Apache Software Foundation">Apache Software Foundation</a> und andere Anbieter Gebrauch von ihr, zum Beispiel <i>Apache Flood</i>, <i>JXTA-C</i>, einige <a href="Jakarta_Tomcat" class="mw-redirect" title="Jakarta Tomcat">Tomcat</a>-Module oder das Versionskontrollsystem <a href="Apache_Subversion" title="Apache Subversion">Subversion</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Weblinks">Weblinks</h2></div>
<ul><li><a rel="nofollow" class="external free" href="https://apr.apache.org">https://apr.apache.org</a> – Apache Portable Runtime Projekt</li>
<li><a rel="nofollow" class="external free" href="https://apr.apache.org/docs">https://apr.apache.org/docs</a> – Dokumentation zur APR</li>
<li><a rel="nofollow" class="external free" href="https://httpd.apache.org">https://httpd.apache.org</a> – <a href="Apache_HTTP_Server" title="Apache HTTP Server">Apache HTTP Server</a> Projekt</li>
<li><a rel="nofollow" class="external free" href="https://www.apache.org">https://www.apache.org</a> – <a href="Apache_Software_Foundation" title="Apache Software Foundation">Apache Software Foundation</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="Einzelnachweise">Einzelnachweise</h2></div>
<ol class="references">
<li id="cite_note-_8f976c7797bc192c-1"><span class="mw-cite-backlink"><a href="#cite_ref-_8f976c7797bc192c_1-0">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://github.com/apache/apr/releases/tag/1.7.6"><cite style="font-style:italic">github.com</cite>.</a></span>
</li>
<li id="cite_note-_8b528bac284b957c-2"><span class="mw-cite-backlink"><a href="#cite_ref-_8b528bac284b957c_2-0">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://www.openhub.net/p/apache_portable_runtime/analyses/latest/languages_summary"><cite style="font-style:italic"><span lang="en">The apache_portable_runtime Open Source Project on Open Hub: Languages Page</span></cite>.</a> In: <cite style="font-style:italic">Open Hub</cite>. (abgerufen am 18. Juli 2018).</span>
</li>
<li id="cite_note-_9b1994072c6da7b8-3"><span class="mw-cite-backlink"><a href="#cite_ref-_9b1994072c6da7b8_3-0">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://projects.apache.org/json/projects/apr-portable_runtime.json"><cite style="font-style:italic">projects.apache.org</cite>.</a> (abgerufen am 8. April 2020).</span>
</li>
</ol></div><!--htdig_noindex--><div><div class="zim-footer">
Dieser Artikel wurde von <a class="external text" title="Zuletzt bearbeitet am 2024-12-08" href="https://de.wikipedia.org/wiki/?title=Apache_Portable_Runtime&oldid=251062020">Wikipedia</a> herausgegeben. Der Text ist unter <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.de">Creative Commons Attribution-Share Alike 4.0</a> verfügbar, sofern nicht anders angegeben. Für die Mediendateien können zusätzliche Bedingungen gelten.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>
</body></html>